package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @auther: chenshan
 * @describe: 关联新建
 * @date 2020-2-12 15:35
 */
@Getter
@Setter
@ToString
public class LinkFormDataFastAddGetDTO extends BaseDTO {
    
    private static final long serialVersionUID = -8130242780233818300L;
    
    private Long formId;
    
    private Long topId;
    
    private Integer topBusinessType;
    
    @NotNull(message = "应用标识不能为空")
    private Integer saasMark;
    /**
     * 业务类型
     */
    @NotNull(message = "业务类型不能为空")
    private Integer businessType;
    /**
     * 关联新建表单的业务类型
     */
    @NotNull(message = "关联业务类型不能为空")
    private Integer linkBusinessType;
    /**
     * 1或不填，可编辑(无需特殊处理)，0特殊处理为不可编辑
     */
    private Integer editable;

    private Long clueId;
}
